package com.qf.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("img-service")
public interface ImgService {


    @RequestMapping("img/getRoomImgUrlByRid/{rid}")
    String getRoomImgUrlByRid(@RequestParam("rid") Integer rid);


    @RequestMapping("img/getUserImgUrlByImgId/{imgId}")
    String getgetRoomImgUrlByImgId(@RequestParam("imgId") Integer imgId);

}
